﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;

namespace bdnt_pets_system_Entity
{
    [DataContract]
    public class Tbl_FailureTrackingDescr : INotifyPropertyChanged
    {
        Int32 id;
        [DataMember]
        public Int32 Id
        {
            get { return id; }
            set { id = value; }
        } 
        Int32 trakingId;
        [DataMember]
        public Int32 TrakingId
        {
            get { return trakingId; }
            set { trakingId = value; }
        }

        Int32 desUserId;
        [DataMember]
        public Int32 DesUserId
        {
            get { return desUserId; }
            set { desUserId = value; }
        }
        string desUserName;
        [DataMember]
        public string DesUserName
        {
            get { return desUserName; }
            set { desUserName = value; }
        }
        string desContent;
        [DataMember]
        public string DesContent
        {
            get { return desContent; }
            set { desContent = value; }
        }
 
        DateTime? desTime;
        [DataMember]
        public DateTime? DesTime
        {
            get { return desTime; }
            set { desTime = value; }
        }

        Int32 desContentType;
        [DataMember]
        public Int32 DesContentType
        {
            get { return desContentType; }
            set { desContentType = value; }
        }

        public event PropertyChangedEventHandler PropertyChanged;
        private void OnPropertyChanged(string PropName)
        {
            if (PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(PropName));
            }
        }
    }
}
